import {Dialog,Toast} from 'vant'

export function myToast(text:string,fn?:()=>void){
    // 封装一下Toast
    Toast({
        message:text,
        duration:1500,
        onClose:fn
    })
}
